<div class="site-widget">
    <div class="card" style="width: 18rem;">
        <div class="card-body">
            <h5 class="card-title">标签云</h5>
            <h6 class="card-subtitle mb-2 text-muted">tags cloud</h6>
            <div class="site-hr"></div>
            {% for tag in tags %}
            <a href="/tags/{{ tag.id }}.html" class="badge badge-info" title="{{ tag.tag }} 标签下的文章">{{ tag.tag }}</a>
            {% endfor %}
        </div>
    </div>
</div>